package com.huawei.xme.ch02.t09;

/**
 * @author 黄后林
 * @date 2022-10-19 11:38:48
 * @note 程序员是用代码喂出来的
 */
public class Vehicle {

    private  int car;
    private  int motorcycle;

    public int getCar() {
        return car;
    }

    public void setCar(int car) {
        this.car = car;
    }

    public int getMotorcycle() {
        return motorcycle;
    }

    public void setMotorcycle(int motorcycle) {
        this.motorcycle = motorcycle;
    }

    @Override
    public String toString() {
        return "Vehicle{" +
                "car=" + car +
                ", motorcycle=" + motorcycle +
                '}';
    }
}
